package org.idea.qiyu.framework.apm.agent.core.dubbo;

/**
 * @Author linhao
 * @Date created in 7:12 下午 2021/7/19
 */
public class DubboTraceSession {

    private static ThreadLocal<DubboStatisticsObject> session = new ThreadLocal<>();

    public static void set(DubboStatisticsObject dubboStatisticsObject){
        session.set(dubboStatisticsObject);
    }

    public static DubboStatisticsObject get(){
        return session.get();
    }

    public static void remove(){
        session.remove();
    }
}
